<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="__STATIC__/res/layui/css/layui.css" media="all">
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">
    {foreach $feedbackContent['feedback_fields'] as $item}
    {if $item['field_code'] neq 'status'}
    <div class="layui-form-item">
        <label class="layui-form-label">{$item.field_name}:</label>
        <div class="layui-input-block">
            <div style="min-height:20px;line-height: 20px;padding: 9px 15px;background: #f0f0f0;word-break: break-all">{$item.field_value}</div>
        </div>
    </div>
    {/if}
    {/foreach}

    <div class="layui-form-item">
        <label class="layui-form-label">状态 </label>
        <div class="layui-input-block">
            <input disabled type="radio" name="status" value="1" title="待审核" {if $feedbackContent['status'] eq 1}checked{/if}>
            <input type="radio" name="status" value="2" title="审核通过" {if $feedbackContent['status'] eq 2}checked{/if}>
            <input type="radio" name="status" value="3" title="审核拒绝" {if $feedbackContent['status'] eq 3}checked{/if}>
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <input type="hidden" value="{$feedbackContent['id']}" name="id" />
        <input type="hidden" value="{$formId}" name="form_id" />
        <input type="hidden" name="website_code" value="{$websiteCode}" />
        <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" id="layuiadmin-app-form-submit" value="确认添加">
        <input type="button" lay-submit lay-filter="layuiadmin-app-form-edit" id="layuiadmin-app-form-edit" value="确认编辑">
    </div>
</div>

<script src="__STATIC__/res/layui/layui.js"></script>
<script>
    layui.config({
        base: '__STATIC__/res/' //静态资源所在路径
    }).use(['index', 'form'])
</script>
</body>
</html>